/*
day373 
2020.9.4 
*/

#include<iostream>
#include<vector>
using namespace std;

 
class Solution {
public:
    bool threeConsecutiveOdds(vector<int>& arr) {
		int count=0;
		int i=0;
		while(i<arr.size())
		{
			if(arr[i]%2==1)
			{
				count++;
				if(count>=3)
				{
					return true;
				}
			}
			else
			{
				count=0;
			}
			++i; 
		}
		return false;
    }
};

int main()
{
	return 0;
}
